package com.bwie.feign;

import com.bwie.pojo.User;
import com.bwie.result.Result;
import org.springframework.stereotype.Component;

@Component
public class UserFeignFallBack implements UserFeign {
    @Override
    public Result<User> findByUsername(String username) {
        return Result.error("降级了");
    }
}
